<#include "include/macro-head.ftl">
<!doctype html>
<html lang="en">
<head>
<@head></@head>
    <title>java-标签</title>
</head>
<body>
<#include "include/main-nav.ftl">
<div class="container">
    <div class="row">
        <div class="col-md-10">
            <div class="tag-header">
                <span class="tag-header-title">${tag.tagName!""}</span>
                <span class="tag-header-content"></span>
                <span class="tag-header-number"> • ${tag.quoteNumber!""} 引用</span><br/>
                <span class="tag-instruction">
                    <p>${tag.instruction!""}</p>
                </span>
            </div>
        <#include "include/work-main.ftl">

            <div class="work-page" style="margin-right: 20px">
                <ul class="pagination pull-right">
                <#if (page.sumPage<=4)&&(page.sumPage>0)>
                    <#list 1..page.sumPage  as p>
                        <#if p == page.curPage>
                            <li class="active"><a href="${server}/tag/${tag.tagName}/${p}">${p}</a></li>
                        <#else>
                            <li><a href="${server}/tag/${tag.tagName}/${p}">${p}</a></li>
                        </#if>
                    </#list>
                <#elseif (page.sumPage > 4)>
                    <#if page.curPage != 1>
                        <li><a href="#">&gt;</a></li>
                    </#if>
                    <#if page.curPage + 3 <= page.sumPage >
                        <#list page.curPage..page.sumPage as p>
                            <#if p == page.curPage>
                                <li class="active"><a href="${server}/tag/${tag.tagName}/${p}">${p}</a></li>
                            <#else>
                                <li><a href="${server}/tag/${tag.tagName}/${p}">p</a></li>
                            </#if>
                        </#list>
                    <#else>
                        <#list page.curPage..page.curPage+3 as p>
                            <#if p == page.curPage>
                                <li class="active"><a href="${server}/tag/${tag.tagName}/${p}">${p}</a></li>
                            <#else>
                                <li><a href="${server}/tag/${tag.tagName}/${p}">p</a></li>
                            </#if>
                        </#list>
                        <li><a href="${server}/tag/${tag.tagName}/${p}">&gt;&gt;</a></li>
                    </#if>
                </#if>
                </ul>
            </div>
        </div>
    <#include "include/work-hot.ftl">
    </div>
</div>
<#include "include/main-footer.ftl">
</body>
</html>